<?php 
namespace app\index\model;
use think\Model;
use traits\model\SoftDelete;

use think\Session;

class Setting extends Model{

	//自动完成字段设置
	protected $auto = ['create_time'];

	//更新时间
    protected function setCreateTimeAttr($value){
    return strtotime($value);
    }
}